<template>
  <div id="app">
    <router-view></router-view>
    
    <h1>{{ message }}</h1>
    <h2>客户端动态交互</h2>
    <div>
      <input v-model="message" />
    </div>
    <button @click="onClick">点击</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      message: ""
    }
  },
  methods: {
    onClick() {
      console.log('click');
    }
  }
}
</script>

<style>

</style>